package com.fanx;


import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.AdviceMode;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableSwagger2Doc
@SpringBootApplication
//@MapperScan("com.fanx.media.model.mapper")
//@EnableAsync(proxyTargetClass = true)
//@EnableCaching(proxyTargetClass = true)
@MapperScan(value = {"com.fanx.media.mapper"})
//@EnableTransactionManagement(mode = AdviceMode.PROXY,proxyTargetClass = true)
public class MediaApplication {
	public static void main(String[] args) {
		SpringApplication.run(MediaApplication.class, args);
	}
}